package net.xilou.weibo;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Created by yong on 2016/3/20.
 */
public class MatcherHelper {

    public static Matcher match(String content, String regex) throws Exception {
        Pattern pattern = Pattern.compile(regex);
        return pattern.matcher(content);
    }
}
